package com.steve.xfood.enums;

import lombok.Getter;

/**
 * 订单状态枚举
 * @author steve
 * @date 2020/5/7 14:07
 */
@Getter
public enum OrderStatusEnum implements CodeEnum {
    /** 新订单 */
    NEW(0,"新订单"),

    /** 已完成. */
    FINISHED(1,"已完成"),

    /** 已取消. */
    CANCEL(2,"已取消"),

    ;

    private Integer code;
    private String msg;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
